home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 2
/
Amiga Tools 2.iso
/
dfue
/
elcheapofax
/
faxcmd
/
libfax
/
rcs
/
log.h,v
< prev
next >
Wrap
Text File
|
1995-03-09
|
2KB
|
124 lines
head 1.3;
access;
symbols
OCT93:1.3;
locks;
comment @ * @;
1.3
date 93.09.18.20.16.23; author Rhialto; state Exp;
branches;
next 1.2;
1.2
date 93.06.11.16.15.25; author Rhialto; state Exp;
branches;
next 1.1;
1.1
date 93.06.11.15.19.27; author Rhialto; state Exp;
branches;
next ;
desc
@Prototypes for log.c
@
1.3
log
@Unconditional prototypes.
@
text
@/* $Id: log.h,v 1.2 1993/06/11 16:15:25 Rhialto Exp $
* $Log: log.h,v $
* Revision 1.2 1993/06/11 16:15:25 Rhialto
* First real RCS checkin
*
*/
/*
log.h
(c) Copyright 1991 by David M. Siegel.
All rights reserved.
%W% %G% %U%
*/
#ifndef in_libfax_log_h
#define in_libfax_log_h 1
#define LOG_EMERG 1
#define LOG_ALERT 2
#define LOG_CRIT 3
#define LOG_ERR 4
#define LOG_WARNING 5
#define LOG_NOTICE 6
#define LOG_INFO 7
#define LOG_DEBUG 8
/* log levels */
#define L_EMERG LOG_EMERG,__FILE__,__LINE__ /* system is unusabled */
#define L_ALERT LOG_ALERT,__FILE__,__LINE__ /* action must be taken */
#define L_CRIT LOG_CRIT,__FILE__,__LINE__ /* critical condition */
#define L_ERR LOG_ERR,__FILE__,__LINE__ /* error condition */
#define L_WARNING LOG_WARNING,__FILE__,__LINE__ /* warning condition */
#define L_NOTICE LOG_NOTICE,__FILE__,__LINE__ /* normal but signif */
#define L_INFO LOG_INFO,__FILE__,__LINE__ /* informational */
#define L_DEBUG LOG_DEBUG,__FILE__,__LINE__ /* debug-level message */
/*
Prototypes:
*/
/*VARARGS*/
int log(int level, char *file, int line, char *format, ...);
void log_set_level(int);
void log_enable_syslog(int facility);
#endif
@
1.2
log
@First real RCS checkin
@
text
@d1 5
a5 2
/* $Id$
* $Log$
d43 3
a45 18
int log(
#ifdef _PROTO
int level, char *file, int line,
char *format, ...
#endif
);
void log_set_level(
#ifdef _PROTO
int
#endif
);
void log_enable_syslog(
#ifdef _PROTO
int facility
#endif
);
@
1.1
log
@Initial revision
@
text
@d1 3
@